
import socket
import random
import string
import time
import schedule


def establish_connection(ip='100.64.0.28',port=9999):



def sent_data():
    data_size_bytes = 1 * 1024 * 1024  # 发送 1-10MB 的数据
    data = #generate_random_data(data_size_bytes)
    print("开始发送数据...")
    start_time = time.time()

    client_socket.sendall(data)
    end_time = time.time()
    elapsed_time = end_time - start_time

    print("数据发送完成")

    client_socket.close()

if __name__ == "__main__":


